package com.example.basiclib.application;

/**
 * <pre>
 *     author: ChenZhaoJun
 *     url  :
 *     time  : 2018/6/14
 *     desc  :
 * </pre>
 */
public class ServiceException extends Exception {
    private final String serviceMessage;
    private final int serviceCode;

    public ServiceException(String serviceMessage, int serviceCode) {
        this.serviceMessage = serviceMessage;
        this.serviceCode = serviceCode;
    }

    public String getServiceMessage() {
        return serviceMessage;
    }

    public int getServiceCode() {
        return serviceCode;
    }
}
